package org.finalministry.objects;

import javax.xml.bind.annotation.XmlRootElement;

import org.finalministry.objects.address.Address;
import org.finalministry.objects.address.Country;

@XmlRootElement
public class Congregation extends FlagTagNoteAbleBase {

	private Long id;
	private String name;
	private Country language;
	private Address address;

	public Congregation() {

	}

	public Congregation(String name, Country language, Address address) {
		super();
		this.name = name;
		this.language = language;
		this.setAddress(address);
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Country getLanguage() {
		return language;
	}

	public void setLanguage(Country language) {
		this.language = language;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

}
